package com.shop.service;

import org.springframework.stereotype.Service;

import com.github.pagehelper.PageInfo;
import com.shop.model.Goods;

@Service
public interface GoodsService {
    PageInfo<Goods> getAllgoods(Integer pageNum,Integer pageSize);
    Goods getGoodById(Integer gid);
    PageInfo<Goods> searchGoodsByName(String gname,Integer pageNum,Integer pageSize);
}